/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.opgea.token.domain.model;

import java.util.HashMap;
import java.util.Map;

/**
 * 
 * @author Ramesh
 */
public class CompanyStatus {

    private Long companyId;
    private String name;

    private Map<Long, TokenStatus> tokens = new HashMap<Long, TokenStatus>();

    public CompanyStatus() {
    }

    public CompanyStatus(Long companyId, String name) {
	this.companyId = companyId;
	this.name = name;
    }

    public Long getCompanyId() {
	return companyId;
    }

    public void setCompanyId(Long companyId) {
	this.companyId = companyId;
    }

    public String getName() {
	return name;
    }

    public void setName(String name) {
	this.name = name;
    }

    public Map<Long, TokenStatus> getTokens() {
	return tokens;
    }

    public void setTokens(Map<Long, TokenStatus> tokens) {
	this.tokens = tokens;
    }

    @Override
    public String toString() {
	return "CompanyStatus{" + "companyId=" + companyId + ", name=" + name
		+ '}';
    }

}
